package cn.wolfcode.rbac.query;

import com.alibaba.druid.util.StringUtils;
import lombok.*;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class EmployeeQueryObject extends QueryObject {
    private String keyword;
    private Long deptId=-1L;

    //判断keyword是否为空
    public String getKeyword(){
        return StringUtils.isEmpty(keyword) ? null : keyword;
    }
}
